<template>
  <div>
    <header class="header">
      <section class="header-content">
        <div>
          <img src="@/assets/milogo.png" class="logo" />
        </div>
        <div style="margin-left:40px;flex-grow:1">
          <span style="font-size:1.8rem">{{title}}</span>
          <span style="margin-left:20px;">{{subTitle}}</span>
        </div>
        <div style="margin-right:15px">albert &nbsp;&nbsp; | 我的订单</div>
      </section>
    </header>
    <div style="height:40px;background-color:#f5f5f5"></div>
  </div>
</template>

<script>
export default {
    props:{
        title:String,
        subTitle:String
    }
};
</script>

<style lang="scss" scoped>
@import "../assets/css/theme.scss";
.header {
  height: 100px;
  border-bottom: 2px solid #ff6700;
  background-color: white;
  .header-content {
    height: 100px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: $content-width;
    margin: 0 auto;
    .logo {
      width: 50px;
      height: 50px;
    }
  }
}
</style>